package arithmetic.leetCode.yi;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: yilin
 * Date: 2019-08-12
 * Time: 16:18
 */
public class SingleInstanceV2 {

    private SingleInstanceV2() {
    }

    private static class SingleHolder {
        private static SingleInstanceV2 incetance = new SingleInstanceV2();
    }

    public static final SingleInstanceV2 getInstance() {
        return SingleHolder.incetance;
    }

}
